package ex2.trans;

import ex2.Employee;
import ex2.PaymentClassification;

public abstract class ChangeClassificationTransaction extends ChangeEmployeeTransaction {

    public ChangeClassificationTransaction(int empId) {
        super(empId);

    }

    @Override
    protected void doChange(Employee e) {
        e.setPaymentClassification(getPaymentClassification());
    }

    protected abstract PaymentClassification getPaymentClassification();

}
